<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Title</title>

</head>
<style>
    div {
        text-align: center;
        line-height: 30px;
    }

</style>
<body>
<div>
    <#if customer?exists>
        <table border="1px solid" width="300px" style="margin: 0 auto">
            <thead>
            <tr>
                <th colspan="2">客户信息</th>
            </tr>
            <tr>
                <th>客户ID</th>
                <th>${customer.custormerId}</th>
            </tr>
            <tr>
                <th>客户姓名</th>
                <th>${customer.custormerName}</th>
            </tr>
            <tr>
                <th>客户电话</th>
                <th>${customer.custormerPhone}</th>
            </tr>
            <tr>
                <th>客户身份证号</th>
                <th>${customer.custormerIdCard}</th>
            </tr>
            <tr>
                <th>客户驾驶证号</th>
                <th>${customer.custormerDriveCard}</th>
            </tr>
            <tr>
                <th>客户类别</th>
                <th><#if customer.custormerCategory==0>个人</#if><#if customer.custormerCategory==1>企业</#if></th>
            </tr>
            <#if customer.custormerCategory==1>
                <tr>
                    <th>营业执照</th>
                    <th><img src="images/${customer.custormerCompanyImage}" style="width: 200px;height: 200px"></th>
                </tr>
                <tr>
                    <th>企业编号</th>
                    <th>${customer.custormerCompanyId}</th>
                </tr>
                <tr>
                    <th>机构代码</th>
                    <th>${customer.custormerCompanyCode}</th>
                </tr>
                <tr>
                    <th>税务证号</th>
                    <th>${customer.custormerCompanyTaxIIdCard}</th>
                </tr>
            </#if>
            <tr>
                <th>客户状态</th>
                <th><#if customer.custormerState==0>正常</#if><#if customer.custormerState==1>黑名单</#if></th>
            </tr>
            <#if customer.custormerState==1>
                <tr>
                    <th>黑名单备注</th>
                    <th>${customer.custormerStateRemark}</th>
                </tr>
            </#if>
            <tr>
                <th>客户会员等级</th>
                <th>${customer.custormerVipLevel}</th>
            </tr>
            <tr>
                <th>客户信用值</th>
                <th>${customer.custormerCreditValue}</th>
            </tr>
            </thead>
        </table>
    </#if>
</div>
</body>


</html>